package com.cloud.api.domain.tsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@Accessors
@Schema(name = "IssueCommandByCode")
public class IssueCommandByCode implements Serializable {

    @Schema(description = "vin")
    @NotEmpty(message = "{validation.common.id}")
    private String id;

    @Schema(description = "下发命令")
    @NotEmpty(message = "{validation.Information.commandId}")
    private String command;

    @Schema(description = "验证码")
    @NotEmpty(message = "{validation.common.code}")
    private String code;
}
